package copyengine.ui.infoTree.buildTree.builder
{
    import copyengine.log.CELog;
    import copyengine.resource.resProxy.CEResProxy;
    import copyengine.ui.infoTree.buildTree.InfoTreeBuilderBuildTreeHelper;

    import flash.utils.Dictionary;

    import starling.display.DisplayObject;

    public class InfoTreeBuilderBasic
    {
        protected var mResProxy:CEResProxy;
        protected var mBuildHelper:InfoTreeBuilderBuildTreeHelper;

        public function InfoTreeBuilderBasic()
        {
        }

        public final function setResProxy(_resProxy:CEResProxy):void { mResProxy = _resProxy; }

        public final function setBuildHelper(_buildHelper:InfoTreeBuilderBuildTreeHelper):void {mBuildHelper = _buildHelper;}

        public function isCanHandleMeta(_meta:*):Boolean
        {
            CELog.err("InfoTreeBuilderBasic->isCanHandleMeta child class should override this function");
            return false;
        }

        public function getBuildResultMc(_meta:*, _quickFindDic:Dictionary, _quickFindKeyPR:String, _isRoot:Boolean):DisplayObject
        {
            CELog.err("InfoTreeBuilderBasic->isCanHandleMeta child class should override this function");
            return null;
        }

    }
}
